package cn.school.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.school.system.mapper.BiBankAccountMapper;
import cn.school.system.domain.BiBankAccount;
import cn.school.system.service.IBiBankAccountService;

/**
 * 提现账号信息Service业务层处理
 *
 * @author ruoyi
 * @date 2024-01-02
 */
@Service
public class BiBankAccountServiceImpl implements IBiBankAccountService
{
    @Autowired
    private BiBankAccountMapper biBankAccountMapper;

    /**
     * 查询提现账号信息
     *
     * @param id 提现账号信息主键
     * @return 提现账号信息
     */
    @Override
    public BiBankAccount selectBiBankAccountById(Long id)
    {
        return biBankAccountMapper.selectBiBankAccountById(id);
    }

    /**
     * 查询提现账号信息列表
     *
     * @param biBankAccount 提现账号信息
     * @return 提现账号信息
     */
    @Override
    public List<BiBankAccount> selectBiBankAccountList(BiBankAccount biBankAccount)
    {
        return biBankAccountMapper.selectBiBankAccountList(biBankAccount);
    }

    /**
     * 新增提现账号信息
     *
     * @param biBankAccount 提现账号信息
     * @return 结果
     */
    @Override
    public int insertBiBankAccount(BiBankAccount biBankAccount)
    {
        return biBankAccountMapper.insertBiBankAccount(biBankAccount);
    }

    /**
     * 修改提现账号信息
     *
     * @param biBankAccount 提现账号信息
     * @return 结果
     */
    @Override
    public int updateBiBankAccount(BiBankAccount biBankAccount)
    {
        return biBankAccountMapper.updateBiBankAccount(biBankAccount);
    }

    /**
     * 批量删除提现账号信息
     *
     * @param ids 需要删除的提现账号信息主键
     * @return 结果
     */
    @Override
    public int deleteBiBankAccountByIds(Long[] ids)
    {
        return biBankAccountMapper.deleteBiBankAccountByIds(ids);
    }

    /**
     * 删除提现账号信息信息
     *
     * @param id 提现账号信息主键
     * @return 结果
     */
    @Override
    public int deleteBiBankAccountById(Long id)
    {
        return biBankAccountMapper.deleteBiBankAccountById(id);
    }
}
